package Scanner;
/*
* 键盘输入两个数字求和
* */
import java.util.Scanner;

public class Scanner1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        System.out.println("请输入两个数字：");
        double a = sc.nextDouble();
        System.out.print(" + ");
        double b = sc.nextDouble();

        System.out.println(" = " + (a + b));
    }
}
